<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>查询图书列表</title>
</head>
<body>
<h1 style="color: red">图书列表</h1>
<table class="table table-striped">
<tr>
    <th>编号</th>
    <th>书名</th>
    <th>作者</th>
    <th>出版时间</th>
    <th>价格</th>
</tr>
{% for books in book %}
<tr>
    <td>{{ books.id }}</td>
    <td>{{ books.name }}</td>
    <td>{{ books.author }}</td>
    <td>{{ books.pub_time }}</td>
    <td>{{ books.price }}</td>
</tr>
{% endfor %}
</table>


</body>
</html>